home *** CD-ROM | disk | FTP | other *** search
/ Sunday That One Day / STOD_VFS_INVIS.ISO / pc / bedroom.dxr / 00723_BedRoom Script.ls < prev    next >
Encoding:
Text File  |  1995-09-15  |  437 b   |  25 lines

  1. on enterFrame
  2.   global ClothesState, StaticCount
  3.   Cursor3On()
  4.   set StaticCount to 1 + StaticCount
  5.   if StaticCount > 80 then
  6.     StaticAnimation()
  7.   end if
  8.   if StaticCount = 1 then
  9.     InitBedGlobals()
  10.   end if
  11. end
  12.  
  13. on exitFrame
  14.   global StaticCount, ClothesState
  15.   if StaticCount = 0 then
  16.     FlushStatics()
  17.   end if
  18.   if the mouseH < 315 then
  19.     if the mouseV < 135 then
  20.       go("BedText")
  21.     end if
  22.   end if
  23.   go(marker(0))
  24. end
  25.